from rest_framework import serializers
from myapp.models import *

class User_ser(serializers.ModelSerializer):
    class Meta:
        model = User
        fields='__all__'

class Comment_ser(serializers.ModelSerializer):
    class Meta:
        model = Comment
        fields='__all__'

class News_ser(serializers.ModelSerializer):
    class Meta:
        model = News
        fields='__all__'